# content/admin.py
from django.contrib import admin
from .models import MarkdownPage

class MarkdownPageAdmin(admin.ModelAdmin):
    list_display = ('title', 'slug', 'created_at', 'updated_at')
    prepopulated_fields = {'slug': ('title',)}
    search_fields = ('title', 'content')

admin.site.register(MarkdownPage, MarkdownPageAdmin)
